package com.cssy.yd.logic.entity;

import java.io.Serializable;
import java.util.Date;

/**
 * 数据对象
 * @since 2013-08-22
 */
public class LogicFkDO implements Serializable {
	
	private static final long serialVersionUID = 135650367903330073L;

    /**
     * column logic_fk.id
     */
    private String id;

    /**
     * column logic_fk.fkcode  单据编号（FK-YYYY-MM-DD-不少于4位流水）
     */
    private String fkCode;

    /**
     * column logic_fk.oricode  原始单号(采购入库单编号）
     */
    private String oriCode;

    /**
     * column logic_fk.billstatus  单据状态（1、草稿，2、完成-付款）
     */
    private Integer billStatus;
    
    /**
     * column logic_fk.fkstatus  付款状态（0、未付款，1、部分付款，2、全部付款）
     */
    private Integer fkStatus;
    
    /**
     * column logic_fk.removed  是否删除（0未删除：1删除）
     */
    private Integer removed;
    
    /**
     * column logic_fk.amount  应付总货款
     */
    private Double amount;
    
    /**
     * column logic_fk.yfhk  已付货款
     */
    private Double yfhk;
    
    /**
     * column logic_fk.wfhk  未付货款
     */
    private Double wfhk;

	/**
     * column logic_fk.fkmethod  付款方式
     */
    private String fkMethod;
    
    /**
     * column logic_fk.fkaccount  付款账号
     */
    private String fkAccount;
    
    /**
     * column logic_fk.spcode  供应商编码
     */
    private String spCode;

    /**
     * column logic_fk.spname  供应商名称
     */
    private String spName;

    /**
     * column logic_fk.batch  批次
     */
    private String batch;

    /**
     * column logic_fk.agent  经办人
     */
    private String agent;

    /**
     * column logic_fk.remark  备注
     */
    private String remark;

    /**
     * column logic_fk.createname  制单人
     */
    private String createName;

    /**
     * column logic_fk.dcruser  创建人
     */
    private String dcruser;

    /**
     * column logic_fk.dctime  创建时间
     */
    private Date dctime;

    /**
     * column logic_fk.duuser  修改人
     */
    private String duuser;

    /**
     * column logic_fk.dutime  修改时间
     */
    private Date dutime;
    
    /**
     * column logic_fk.currency	 币别
     */
    private String currency;
  
    /**
     * column logic_fk.exchange_rate  汇率
     */
    private String exchangeRate;
    
    /**
     * column logic_fk.fkdate  付款日期
     */
    private Date fkDate;
   
    public LogicFkDO() {
        super();
    }

	public LogicFkDO(String id, String fkCode, String oriCode,
			Integer billStatus, Integer fkStatus, Integer removed,
			Double amount, Double yfhk, Double wfhk, String fkMethod,
			String fkAccount, String spCode, String spName, String batch,
			String agent, String remark, String createName, String dcruser,
			Date dctime, String duuser, Date dutime, String currency,
			String exchangeRate, Date fkDate) {
		this.id = id;
		this.fkCode = fkCode;
		this.oriCode = oriCode;
		this.billStatus = billStatus;
		this.fkStatus = fkStatus;
		this.removed = removed;
		this.amount = amount;
		this.yfhk = yfhk;
		this.wfhk = wfhk;
		this.fkMethod = fkMethod;
		this.fkAccount = fkAccount;
		this.spCode = spCode;
		this.spName = spName;
		this.batch = batch;
		this.agent = agent;
		this.remark = remark;
		this.createName = createName;
		this.dcruser = dcruser;
		this.dctime = dctime;
		this.duuser = duuser;
		this.dutime = dutime;
		this.currency = currency;
		this.exchangeRate = exchangeRate;
		this.fkDate = fkDate;
	}

	public String getId() {
		return id;
	}

	public void setId(String id) {
		this.id = id;
	}

	public String getFkCode() {
		return fkCode;
	}

	public void setFkCode(String fkCode) {
		this.fkCode = fkCode;
	}

	public String getOriCode() {
		return oriCode;
	}

	public void setOriCode(String oriCode) {
		this.oriCode = oriCode;
	}

	public Integer getBillStatus() {
		return billStatus;
	}

	public void setBillStatus(Integer billStatus) {
		this.billStatus = billStatus;
	}

	public Integer getFkStatus() {
		return fkStatus;
	}

	public void setFkStatus(Integer fkStatus) {
		this.fkStatus = fkStatus;
	}

	public Integer getRemoved() {
		return removed;
	}

	public void setRemoved(Integer removed) {
		this.removed = removed;
	}

	public Double getAmount() {
		return amount;
	}

	public void setAmount(Double amount) {
		this.amount = amount;
	}

	public Double getYfhk() {
		return yfhk;
	}

	public void setYfhk(Double yfhk) {
		this.yfhk = yfhk;
	}

	public Double getWfhk() {
		return wfhk;
	}

	public void setWfhk(Double wfhk) {
		this.wfhk = wfhk;
	}

	public String getFkMethod() {
		return fkMethod;
	}

	public void setFkMethod(String fkMethod) {
		this.fkMethod = fkMethod;
	}

	public String getFkAccount() {
		return fkAccount;
	}

	public void setFkAccount(String fkAccount) {
		this.fkAccount = fkAccount;
	}

	public String getSpCode() {
		return spCode;
	}

	public void setSpCode(String spCode) {
		this.spCode = spCode;
	}

	public String getSpName() {
		return spName;
	}

	public void setSpName(String spName) {
		this.spName = spName;
	}

	public String getBatch() {
		return batch;
	}

	public void setBatch(String batch) {
		this.batch = batch;
	}

	public String getAgent() {
		return agent;
	}

	public void setAgent(String agent) {
		this.agent = agent;
	}

	public String getRemark() {
		return remark;
	}

	public void setRemark(String remark) {
		this.remark = remark;
	}

	public String getCreateName() {
		return createName;
	}

	public void setCreateName(String createName) {
		this.createName = createName;
	}

	public String getDcruser() {
		return dcruser;
	}

	public void setDcruser(String dcruser) {
		this.dcruser = dcruser;
	}

	public Date getDctime() {
		return dctime;
	}

	public void setDctime(Date dctime) {
		this.dctime = dctime;
	}

	public String getDuuser() {
		return duuser;
	}

	public void setDuuser(String duuser) {
		this.duuser = duuser;
	}

	public Date getDutime() {
		return dutime;
	}

	public void setDutime(Date dutime) {
		this.dutime = dutime;
	}

	public String getCurrency() {
		return currency;
	}

	public void setCurrency(String currency) {
		this.currency = currency;
	}

	public String getExchangeRate() {
		return exchangeRate;
	}

	public void setExchangeRate(String exchangeRate) {
		this.exchangeRate = exchangeRate;
	}

	public Date getFkDate() {
		return fkDate;
	}

	public void setFkDate(Date fkDate) {
		this.fkDate = fkDate;
	}
   
}